{template 'common/header'}
<div class="panel panel-cut">
	<div class="panel-heading">
		选择小程序
	</div>
	<div class="panel-body">
		<div class="wxapp-manage">
			<a href="{php echo url('wxapp/post/design_method')}" class="color-default"><i class="wi wi-registersite"></i>新建小程序</a>
			<a href="{php echo url('account/manage', array('account_type' => '4'))}" class="color-default"><i class="wi wi-appsetting"></i>小程序管理</a>
		</div>
		<ul class="wxapp-cut-list clearfix">
			{loop $wxapp_lists $list}
			<li class="wxapp-cut-item">
				<div class="wxapp-item-iphone">
					<img src="{$list['details'][$list['default_acid']]['thumb']}">
					<div class="cover-dark">
						<a href="{php echo url('wxapp/display/switch', array('uniacid' => $list['uniacid'], 'multiid' => $list['versions']['multiid'], 'version_id' => $list['versions']['id']))}" class="manage-fa"><i class="fa fa-angle-right"></i></a>
						<a href="{php echo url('wxapp/display/switch', array('uniacid' => $list['uniacid'], 'multiid' => $list['versions']['multiid'], 'version_id' => $list['versions']['id']))}" class="manage">管理</a>
						<a href="{php echo url('wxapp/display/rank', array('uniacid' => $list['uniacid']))}" class="stick">置顶</a>
					</div>
				</div>
				<div class="wxapp-item-detail">
					<p class="color-dark">{$list['name']}</p>
					{if !empty($list['versions'])}
					<p class="color-gray"><span>v{$list['versions']['version']}</span><span>{php echo date('Y/m/d', $list['versions']['createtime'])}</span></p>
					{/if}
				</div>
			</li>
			{/loop}
		</ul>
		<div class="pull-right">
			{$pager}
		</div>
	</div>
</div>
</div>
{template 'common/footer'}